package com.huazai.lock;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.CyclicBarrier;

/**
 * thread 辅助工具
 *
 * @author huazai
 * @date 2024/2/4
 */
public class ThreadDemo6 {
    public static void main(String[] args) throws InterruptedException {
       //
        CountDownLatch countDownLatch = new CountDownLatch(6);
        countDownLatch.await();

        // 循环栅栏
        CyclicBarrier cyclicBarrier;
    }
}
